#include "stdafx.h"
#include "fpp.h"
#include "item.h"
#include "qlistwidget.h"

fpp::fpp(QWidget *parent, Qt::WFlags flags)
	: QMainWindow(parent, flags)
{
	ui.setupUi(this);
	/*
	ui.graphicsView->setScene(&scene);

	scene.setBackgroundBrush(QBrush(Qt::lightGray, Qt::CrossPattern));
	ui.graphicsView->scale(1, 1);

	flagString = "Testing";
	flag2String = "double testing";
	testing.append(flagString); 
 	testing.append(flag2String);

	connect(ui.actionSave, SIGNAL(triggered()), SLOT(saveClicked()));
	connect(ui.actionNew, SIGNAL(triggered()), SLOT(loadClicked()));
	connect(ui.actionZoomIn, SIGNAL(clicked()), SLOT(zoomInClicked()));
	connect(ui.actionZoomOut, SIGNAL(clicked()), SLOT(zoomOutClicked()));
	connect(ui.Left_List, SIGNAL(itemClicked(QListWidgetItem*)), SLOT(placeItem(QListWidgetItem*)));

	addFurniture();
	*/
}

fpp::~fpp()
{

}
/*
void fpp::zoomInClicked()
{
	ui.graphicsView->scale(2, 2);
}
void fpp::zoomOutClicked()
{
	ui.graphicsView->scale(.5, .5);
}*/